package com.qqls.youxiangousys.pj.sys.service;

import com.qqls.youxiangousys.pj.common.entity.Pagination;
import com.qqls.youxiangousys.pj.sys.entity.SysNotice;

public interface SysNoticeService {
    /**
     * 按内容查
     * @param noticeContent
     * @param curPage
     * @param pageSize
     * @return
     */
    Pagination findAll(String noticeContent, Integer curPage, Integer pageSize);

    //添加
    Integer addNotice(SysNotice notice);

    //修改
    Integer updateNotice(SysNotice notice);

    //状态
    Integer updateValId(Integer id, Integer noticeState);

    Integer deleteNotice(Integer[] ids);
}
